home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / jobs32.zip / GO.BAT < prev    next >
DOS Batch File  |  1988-07-24  |  2KB  |  47 lines

  1. echo off
  2. if x%1 == x goto drs
  3. if x%2 == x goto drs
  4. cls
  5. echo.
  6. echo.
  7. echo.                            Welcome to JOBS
  8. echo.                JOBS - Job Organization and Backup System
  9. echo.
  10. echo.                      The consummate disk manager!
  11. echo.
  12. echo.        This simple batch file will un-archive the necessary files
  13. echo.        and place them on your hard disk.  It will create a directory
  14. echo.        on drive %2 called \JOBS-SW.  JOBS' files will be copied to
  15. echo         this directory.
  16. echo.
  17. echo.        After the files have been copied to the %2\JOBS-SW directory,
  18. echo.        this batch operation will turn control over to JOBS-SW.EXE.
  19. echo.        JOBS' easy install procedure will guide you to a complete
  20. echo.        installation.
  21. echo.
  22. echo.        Installing JOBS' on your hard disk can require up to 700k of
  23. echo.        free disk space.  Because this simple .bat file is incapable
  24. echo.        of detecting a 'disk full' error, please be sure drive %2
  25. echo.        has 700k of empty space before pressing 'Y'.
  26. bask "\n\n        Press 'Y' to continue, 'N' to cancel this batch file. (Y/N) "
  27. if not errorlevel 1 goto quit
  28. cls
  29. echo on
  30. %2
  31. cd \
  32. md jobs-sw
  33. cd \jobs-sw
  34. %1
  35. copy go2.bat %2\jobs-sw
  36. %2\jobs-sw\go2 %1 %2
  37. :drs
  38. echo.
  39. echo.        This batch file will install JOBS-SW on your hard disk, but
  40. echo.        you must specify both the drive you are installing from and
  41. echo.        the drive you wish to install JOBS on.  Example:
  42. bask /d "\n        A>GO A: C:<Enter>\n\n        Where A> is the DOS prompt and <Enter> = press Enter key.\n\n"
  43. echo.        This command would install JOBS-SW on drive C: from drive A:.
  44. echo.
  45. echo.        Notice that each drive letter must be followed by a colon.
  46. :quit
  47.